package cn.edu.gues.infosystam.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Cclass对象", description="")
public class Cclass implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "班级ID")
    @TableId(value = "cid", type = IdType.AUTO)
    private Integer cid;

    @ApiModelProperty(value = "班级名称")
    private String cname;

    @ApiModelProperty(value = "学院名称")
    private String college;

    @ApiModelProperty(value = "逻辑删除（0：未删除，1：删除）")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "最后修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
